#include <cmath>
#include <iostream>
#include "point.h"
#include "line.h"
#include "circle.h"
#include "cylinder.h"

using namespace std;

int main()
{
	Point pt(0, 0);
	Circle c11(100, 100, 10), c12(c11);
	Line ln1(0, 0, 100, 100), ln2;
	Cylinder cy1(1, 1, 1, 1), cy2(cy1);

	cout << "点面积: " << pt.Area() << '\t';
	pt.Show();

	cout << "c11圆面积: " << c11.Area() << '\t';
	c11.Show();
	c12.Show();

	cout << "线面积: " << ln1.Area() << '\t'
	     << "线长度: " << ln1.GetLength() << endl;
	ln1.Show();
	ln2.Show();

	cout << "cy1圆柱体积: " << cy1.Volume() << '\t';
	cy1.Show();
	cy2.Show();

	return 0;
}
